<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <title>Test Form</title>
    </head>

    <h3 id="hform3">表单测试</h3>

    <body>
        <form action="tform.php" method="post">
            <!-- 登录 -->
            <lable>姓名：</lable>
            <input type="text" id="user" name="name" size="25" required><br>
            密码1：
            <input type="password" id="pwd" name="password" required><br>

            <!-- 按钮 -->
            <lable style="color:rgb(127, 0, 139)">性别</lable>
            <input type="radio" id="male1" name="gender" value="男" required>
            <label for="a" style="color:green;">男</label>
            <input type="radio" id="female1" name="gender" value="女" required>
            <label for="a" style="color: rgb(57, 8, 170);">女</label>
            <br>

            <label id="city" for="citys">城市：</label>
            <input type="checkbox" id="beijing" name="bj">
            <label for="beijing">北京</label>
            <input type="checkbox" id="shanghai" name="sh" checked="checked">
            <label for="shanghai">上海</label>
            <br>

            
            <label for="city" style="color: rgba(156, 8, 214, 0.849);">下拉选择：</label>
                <select id="city" name="ct">
                <option value="cn">CN</option>
                <option value="usa">USA</option>
                <option value="uk">UK</option>
            </select>
            <br>

            备注
            <textarea rows="5" cols="22">ssl
        er
        </textarea>
            <br>

            <fieldset id="fs1" aria-setsize="2">
                <legend>多选框</legend>
                <input type="checkbox" id="apple" name="fs[]" value="苹果">
                <label for="apple">苹果</label>
                <input type="checkbox" id="banana" name="fs[]" value="香蕉">
                <label for="banana">香蕉</label>
            </fieldset>

            dian
            <input type="button" name="Dian" value="hello"><br><br>

            html框架
            <iframe src="tiframe.html" name="tiframe_a" width="600"
                height="300">
                sss
            </iframe><br><br>

            <p>
                <a href="https://www.sina.com" target="tiframe_a">新浪</a>
            </p>

            <script>
            document.write("Hello, world!");
            function clickOk() {
                document.write("ok!<br>123￥");
            }
            function change() {
                document.getElementById("hform3").style.color = "red";
            }
        </script>
            <br>

            <noscript>
                document.write("<h3>请开启JavaScript1!</h3>");
            </noscript>
            <br>

            <input type="button" value="点击Ok" onclick="clickOk()"><br>
            <input type="button" value="改变" onclick="change()"><br>

            <!-- 提交 -->
            <input type="reset" value="重置">
            <input type="submit" value="提交">
        </form>

    </body>

</html>

<!-- http://47.96.22.83:8187/thtml/tform.html -->
